TimePickerColors

interface TimePickerColors

Represents the colors used by a timepicker and its parts in different states

See TimePickerDefaults.colors for the default implementation

Functions

Link copied to clipboard
@Composable
abstract fun backgroundColor(active: Boolean): State<Color>

Gets the background color dependant on if the item is active or not

Link copied to clipboard
@Composable
abstract fun periodBackgroundColor(active: Boolean): State<Color>
Link copied to clipboard
abstract fun selectorColor(): Color
Link copied to clipboard
abstract fun selectorTextColor(): Color
Link copied to clipboard
@Composable
abstract fun textColor(active: Boolean): State<Color>

Gets the text color dependant on if the item is active or not

Properties

Link copied to clipboard
abstract val border: BorderStroke